package cn.wolfcode.crm.service;


import cn.wolfcode.crm.domain.Client;
import cn.wolfcode.crm.query.ClientQueryObject;
import cn.wolfcode.crm.query.QueryObject;
import cn.wolfcode.crm.util.PageResult;

import java.util.List;

public interface IClientService {

    void deleteByPrimaryKey(Long id);

    Client selectByPrimaryKey(Long id);

    List<Client> selectAll();

    void saveOrUpdate(Client entity);

    PageResult query(ClientQueryObject qo);

    void changePrincipal(Long priId , Long id);

    void absorbClient(Long id);

    void changeState(Long stateId,Long id);
}
